package com.wwmz.proxy.pattern.dynamicproxy.cglib;

/**
 * Created by wumz on 2020/9/21 12:38
 */
public class Test {

    public static void main(String[] args) throws Exception {
        CglibMeipo cglibMeipo = new CglibMeipo();
        Zhangsan instance = (Zhangsan) cglibMeipo.getInstance(Zhangsan.class);
        instance.findLove();

        ZhaoLiu instance1 = (ZhaoLiu) cglibMeipo.getInstance(ZhaoLiu.class);
        instance1.findLove();
    }
}
